


<table cellpadding="0" class="table" width="80%"><tbody>
    <tr>
        <th width="25%">申请时间</th>
        <th width="10%">反馈物料</th>
    </tr>

    <tr>

        <td><?php $actTimeArr = json_decode($order->act_time) ;

        foreach ($actTimeArr as $r) {
            echo date("Y-m-d G:i",strtotime($r->beginTime)) . " 至 " .date("Y-m-d G:i",strtotime($r->endTime))."<br/>";
        }

        ?></td>
        <td><?php
            if ($order->feedback_material) {
                echo "<a href='".$order->feedback_material."'> 点击下载 </a>";
            } else {
                echo "暂无";
            }

            ;?></td>

    </tr>

    </tbody></table>


<table cellpadding="0" class="table"><tbody>
    <p>&nbsp;</p>
    <tr>
        <th width="25%">物料名称</th>
        <th width="10%">数量</th>
    </tr>

    <?php
    foreach ($goodsInfo as $r)  {

        if ($r["type"] ==1) {
            $num =1;
        } else {
            $num = $count;
        }

        ?>
        <tr>

            <td><?php echo $r["title"]?></td>
            <td><?php echo $r["num"]*$num?></td>

        </tr>

    <?php }?>


    </tbody></table>
<p>&nbsp;</p>
<p>&nbsp;</p>

<table cellpadding="0" class="table" width="80%"><tbody>
    <tr>
        <th width="25%">联系人</th>
        <th width="10%">手机</th>
        <th width="10%">详细地址</th>
    </tr>

    <tr>

        <td><?php echo $name;?></td>
        <td><?php echo $phone;?></td>
        <td><?php echo $addr;?></td>

    </tr>

    </tbody></table>